local thbattle__fulanduolu_huimie = fk.CreateSkill {

  name = "thbattle__fulanduolu_huimie",

  tags = { Skill.Compulsory, },

}



thbattle__fulanduolu_huimie:addEffect(fk.TargetSpecified, {
  anim_type = "offensive",
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(thbattle__fulanduolu_huimie.name) and data.card and
        (data.card.trueName == "slash" or data.card.trueName == "duel")
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    local targetplayer = data.to
    THB_Utility.setStatusMark(targetplayer, "@@thbattle__fulanduolu_huimie-turn")
  end,
})

thbattle__fulanduolu_huimie:addEffect("invalidity", {
  name = "#thbattle__fulanduolu_huimie_invalidity",
  invalidity_func = function(self, from, skill)
    return from:getMark("@@thbattle__fulanduolu_huimie-turn") > 0
  end,
})

return thbattle__fulanduolu_huimie